package service;

import pojo.Student;

import java.util.List;

public interface StudentService {
    List<Student> findAll(Student student, int offset, int pageSize);

    int addStudent(Student student);

    int count(Student Student);//查询总记录数

    Student findById(Integer id);

    int updateStudent(Student student);

    int deleteStudentById(Integer id);
}
